plot categorical data matplotlib

38

plot categorical data matplotlib -

df['colour'].value_counts().plot(kind='bar')

simple graph in matplotlib categorical variables -

tips = sns.load_dataset("tips")
sns.catplot(x="day", y="total_bill", data=tips)

Comments

Submit
0 Comments